home *** CD-ROM | disk | FTP | other *** search
- function setColor(cor)
- {
- mColor = cor;
- }
- function setPoints(val)
- {
- mPoints = val;
- }
- function setCount(val)
- {
- mCount = val;
- }
- function setType(tipo)
- {
- if(tipo == "fastservice")
- {
- this.gotoAndStop(1);
- }
- else if(tipo == "cash")
- {
- this.gotoAndStop(2);
- }
- else if(tipo == "bedsfull")
- {
- this.gotoAndStop(3);
- }
- else if(tipo == "colorbonus")
- {
- this.gotoAndStop(4);
- }
- else if(tipo == "cleanup")
- {
- this.gotoAndStop(5);
- }
- mPoints_mc.justifyLeft();
- mPoints_mc.showSign("+");
- mPoints_mc.showValue(mPoints);
- }
- stop();
- var mPoints;
- var mColor;
-